package com.me.study.javaCore.classLoader.customClassLoader;

/**
 * ClassLoader：测试自定义加载器所需要的 类A
 *
 * @author ME
 * @date 2021/3/9
 */
public class ObjA {

    public static void main(String[] args) {
        ObjA objA = new ObjA();
        objA.hello();
    }

    public ObjA() {
    }

    public void hello() {
        System.out.println("ObjectA: " + this.getClass().getClassLoader());
        ObjB objB = new ObjB();
        objB.hello();
    }

}
